<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE type=text/css>DIV.dtd-fragment {
	BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; WIDTH: 100%; BORDER-BOTTOM: medium none; BACKGROUND-COLOR: #eee
}
</STYLE>

<META content="MSHTML 6.00.2800.1126" name=GENERATOR></HEAD>
<BODY>
<H1>
<CENTER>exporters</CENTER></H1><B><I>Identifier: 
</I></B>net.sourceforge.metrics.exporters
<P><B><I>Since: </I></B>1.0.9
<P><B><I>Description: </I></B>Use this extension point to add new exporters to 
the metrics plugin. See the built-in exporters for metrics-first/flat and 
source-first/hierarchical for examples.
<P><B><I>Configuration Markup:</I></B>
<P>
<P><SAMP><FONT color=#800000>&nbsp;&nbsp; &lt;!ELEMENT <A 
name=e.extension>extension</A> (<A 
href="file:///C:/Documents%20and%20Settings/sauerf/Local%20Settings/Temp/pde2607.html#e.exporter">exporter</A>*)&gt;</FONT></SAMP> 
<BR><BR><SAMP><FONT color=#800000>&nbsp;&nbsp; &lt;!ATTLIST extension</SAMP> 
<BR><SAMP>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;point&nbsp;CDATA #REQUIRED</SAMP> 
<BR><SAMP>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;CDATA 
#IMPLIED</SAMP> <BR><SAMP>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;CDATA 
#IMPLIED</SAMP> <BR><SAMP>&nbsp;&nbsp; &gt;</FONT></SAMP> 
<UL></UL>
<P><SAMP><FONT color=#800000>&nbsp;&nbsp; &lt;!ELEMENT <A 
name=e.exporter>exporter</A> EMPTY&gt;</FONT></SAMP> 
<P>&nbsp;&nbsp; Specifies the attributes of a XMLExporter implementation</P>
<P></P><SAMP><FONT color=#800000>&nbsp;&nbsp; &lt;!ATTLIST exporter</SAMP> 
<BR><SAMP>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA 
#REQUIRED</SAMP> 
<BR><SAMP>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA 
#REQUIRED</SAMP> <BR><SAMP>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description&nbsp;CDATA 
#IMPLIED</SAMP> 
<BR><SAMP>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;namespace&nbsp;&nbsp;&nbsp;CDATA 
#IMPLIED</SAMP> <BR><SAMP>&nbsp;&nbsp; &gt;</FONT></SAMP> 
<UL>
  <LI><B>name</B> - Name of the exporter, used in the preference page to toggle 
  the selection 
  <LI><B>class</B> - implementation of the XMLExporter. Must implement 
  net.sourceforge.metrics.core.IExporter 
  <LI><B>description</B> - Description of the output format 
  <LI><B>namespace</B> - namespace of the resulting XML. Unused at this time 
  </LI></UL><B><I>Examples: </I></B>
  <PRE>
   &lt;extension
         point="net.sourceforge.metrics.exporters"&gt;
      &lt;exporter
            name="Metrics flat"
            namespace="http://metrics.sourceforge.net/2003/Metrics-First-Flat"
            description="exports each metric with a flat list of values for the appropriate descendants"
            class="net.sourceforge.metrics.internal.xml.MetricsFirstExporter"&gt;
      &lt;/exporter&gt;
      &lt;exporter
            name="Source tree"
            namespace="http://metrics.sourceforge.net/2003/Source-hierarchical"
            description="exports the selected element and its subtree, with metrics at each level"
            class="net.sourceforge.metrics.internal.xml.XMLSourceTreeExporter"&gt;
      &lt;/exporter&gt;
   &lt;/extension&gt;
  	
  </PRE>
<P><B><I>API Information: </I></B>[Enter API information here.]
<P><B><I>Supplied Implementation: </I></B>
	This extension point is implemented by two built-in exporters. The main classes
	are net.sourceforge.metrics.internal.xml.MetricsFirstExporter and 
	net.sourceforge.metrics.internal.xml.XMLSourceTreeExporter
<P><FONT color=#336699 size=-1></FONT></P></BODY></HTML>
